Docs: integrate search with Pagefind instead of Algolia#42226
Docs: integrate search with Pagefind instead of Algolia#42226julien-deramond wants to merge 3 commits intov6-devfrom
Conversation
| "@babel/core": "^7.28.5", | ||
| "@babel/preset-env": "^7.28.5", | ||
| "@docsearch/js": "^3.9.0", | ||
| "pagefind": "^1.3.0", |
There was a problem hiding this comment.
We could use https://github.com/shishkin/astro-pagefind as it was prototyped at #41842 instead but there's always the question of how long would it be maintained. If we can make it work without too much efforts directly with pagefind, I'd stick with this solution.
There was a problem hiding this comment.
just in case you hadn't seen it... Pagefind 1.5.0 is out and has many great improvements!
https://pagefind.app/
There was a problem hiding this comment.
Thanks for sharing, I've bumped pagefind to 1.5.0 🙏 I'll check the new features later.
5de5cf0 to
b93ffb0
Compare
5ddf8f4 to
773fb09
Compare
codeCraft-Ritik
left a comment
There was a problem hiding this comment.
Great proposal! Switching to Pagefind aligns well with Astro and should improve performance and flexibility.
Nice focus on a11y and UI improvements 👍
Warning
Heavily draft
Description
This PR suggests to switch from Algolia to Pagefind; commonly used with Astro-based docs.
Checklist
npm run start)npm run release ; npm run docs ; cd _site ; http-server)